home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hardcore Gamer Resource Kit
/
Hardcore Gamer Resource Kit - Disc 2.iso
/
Pc
/
P_R
/
PQ1V_PEN.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-08-18
|
2KB
|
110 lines
@echo off
rem srd=source drive
rem ddr=dest drive
rem ddi=dest dir
rem cdr=cdrom drive
rem fv=floppy version
what ye
set srd=%what%
echo.
echo Are you playing the Police Quest Collection or Police Quest 1 Disk version?
what c "Press 1 for the Collection, Press 2 for the Disk version. " 12
echo.
echo.
if %what%==2 set fv=1
if "%fv%"=="1" goto msgFl1
:msgCD1
echo This disk will install patches for Daryl F. Gates' Police Quest Collection.
echo.
echo Please enter the letter of the drive where The Police Quest Collection is installed.
goto cont1
:msgFl1
echo This disk will install patches for Police Quest: Pursuit of the Death Angel.
echo.
echo Please enter the letter of the drive where you installed Police Quest.
:cont1
what c "" abcdefghijklmnopqrstuvwxyz
echo.
echo.
set ddr=%what%
if "%fv%"=="1" goto msgFl2
:msgCD2
echo Please enter the directory you installed The Police Quest Collection in.
echo Press [enter] to install to the default directory (\SIERRA\PQCOL).
echo.
echo.
goto cont2
:msgFl2
echo Please enter the directory where Police Quest is installed.
echo Press [enter] to install to the default directory (\SIERRA\PQ).
echo.
:cont2
what s "Please enter directory ([enter] for default) >"
set ddi=%what%
echo.
echo.
if "%fv%"=="1" goto msgFl3
:msgCD3
echo Please enter the letter of your CD-ROM drive.
what c "" abcdefghijklmnopqrstuvwxyz
set cdr=%what%
echo.
echo.
goto cont3
:msgFl3
:cont3
if "%fv%"=="1" goto msgFl4
:msgCD4
if "%ddi%" == "" set ddi=\sierra\pqcol
goto cont4
:msgFl4
if "%ddi%" == "" set ddi=\sierra\pq
:cont4
if "%fv%"=="1" goto instFl
:instCD
%ddr%:
md %ddi%\pq1
%srd%:
copy 45.hep %ddr%:%ddi%\pq1
copy 45.scr %ddr%:%ddi%\pq1
copy 996.voc %ddr%:%ddi%\pq1
rem Now we change config file 'cuz pq1 won't know about the patches -RWL
%ddr%:
cd %ddi%
echo patchDir=%ddr%:%ddi%\pq1;%cdr%:\pq1_vga >> resource.tmp
type resource.pq1 >> resource.tmp
del resource.pq1
ren resource.tmp resource.pq1
cd\
%srd%:
goto end
:instFl
copy 45.hep %ddr%:%ddi%
copy 45.scr %ddr%:%ddi%
copy 996.voc %ddr%:%ddi%
:end
set ddi=
set ddr=
set srd=
set cdr=
set fv=
echo The files have been installed. Please run the game as you normally would.
echo.